/** \file
* Declaration of the Twitter status class.
* This file is part of Chorus, available at
* http://code.google.com/p/chorus-twitter/ . This file and all associated files
* and derivative works are bound by the terms of the LGPL 3.0 license,
* available at http://www.gnu.org/licenses/lgpl-3.0-standalone.html .
* \par Subversion URL:
* \$URL: http://chorus-twitter.googlecode.com/svn/branches/cpp/src/twitter/TwitterStatus.hpp $
* \version \$Rev: 153 $
* \date    \$Date: 2010-04-06 07:43:42 +0000 (Tue, 06 Apr 2010) $
*/

#pragma once

#include "xml/XmlElement.hpp"

/// The Twitter status class.
class TwitterStatus : public XmlElement
{
public:
	/// The constructor.
	TwitterStatus();
	/// The destructor.
	virtual ~TwitterStatus();

public:
	/// The text of the status.
	TypedXmlProperty<std::string> prop_text;
	/// The program or website used to send the status.
	TypedXmlProperty<std::string> prop_source;
	/// The user name to which this status is replying.
	TypedXmlProperty<std::string> prop_replytousername;
	/// The status ID to which this status is replying.
	TypedXmlProperty<unsigned> prop_replytostatus;
	/// The user ID to which this status is replying.
	TypedXmlProperty<unsigned> prop_replytouserid;
	/// Whether this status is truncated.
	TypedXmlProperty<bool> prop_truncated;

	/// The ID of the author.
	unsigned by;
};
